package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.CodeAidProjectArg;
import com.teamall.web.fpxm.db.po.CodeAidProjectPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeAidProjectMapper {
    
    List<Integer> countByArg(CodeAidProjectArg arg);

    List<CodeAidProjectPO> selectByArg(CodeAidProjectArg arg);

    CodeAidProjectPO selectByPrimaryKey(Integer id);

    List<CodeAidProjectPO> selectByArgAndPage(CodeAidProjectArg arg, RowBounds rowBound);

    int insert(CodeAidProjectPO record);

    int insertSelective(CodeAidProjectPO record);

    int insertBatch(@Param("list") List<CodeAidProjectPO> records);

    int updateByArgSelective(@Param("record") CodeAidProjectPO record,
            @Param("arg") CodeAidProjectArg arg);

    int updateByArg(@Param("record") CodeAidProjectPO record,
            @Param("arg") CodeAidProjectArg arg);

    int updateByPrimaryKeySelective(CodeAidProjectPO record);

    int updateByPrimaryKey(CodeAidProjectPO record);
    
    int deleteByArg(CodeAidProjectArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}